﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="FinishedList.aspx.cs" Inherits="CustomerService.Finished.FinishedList" %>
    
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" CssClass="commongv">
        <Columns>
            <asp:TemplateField HeaderText="问题等级" SortExpression="IssueLevel">
                <ItemTemplate>
                    <%# Eval("IssueLevel")%>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="问题编号 " SortExpression="Region">
                <ItemTemplate>
                    <%# Eval("Id")%>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="问题分类" SortExpression="IssueCategory">
                <ItemTemplate>
                    <%# Eval("IssueCategory")%>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="服务区" SortExpression="ServiceArea">
                <ItemTemplate>
                    <%# Eval("ServiceArea")%>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="标题" SortExpression="IssueTitle">
                <ItemTemplate>
                    <%# Eval("IssueTitle")%>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="状态" SortExpression="Status">
                <ItemTemplate>
                    <%# new Koonsoft.CustomerService.BLL.WFBLL().GetWfById(int.Parse(Eval("Status").ToString())).State%>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="提交人" SortExpression="IssueTitle">
                <ItemTemplate>
                    <%# Eval("CreateUser")%>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="查看" SortExpression="IssueID">
                <ItemTemplate>
                    <a href='../issues/Issue.aspx?Guid=<%#Server.UrlEncode(Eval("IssueID").ToString())%>'>
                        查看</a>
                </ItemTemplate>
            </asp:TemplateField>
        </Columns>
    </asp:GridView>

      <webdiyer:AspNetPager ID="AspNetPager1" runat="server" PageSize="12" AlwaysShow="True"
        OnPageChanged="AspNetPager1_PageChanged" ShowCustomInfoSection="Left" CustomInfoSectionWidth="35%"
        ShowPageIndexBox="always" PageIndexBoxType="DropDownList" CustomInfoHTML="第<font color='red'><b>%currentPageIndex%</b></font>页，共%PageCount%页，每页显示%PageSize%条记录">
    </webdiyer:AspNetPager>

    <asp:Label ID="Label1" runat="server" Text="已回访" Visible="false"></asp:Label>
</asp:Content>
